package com.learn.algorithm.designpattern.singleton;

/**
 * @author wangxing
 * @version 2020/5/6 22:50 Administrator
 */
public class HungrySinglet {
    private static HungrySinglet instance = null;

    static {
        instance = new HungrySinglet();
    }

    private HungrySinglet() {
    }

    public static HungrySinglet getInstance() {
        return instance;
    }
}
